From 183ab68aef71beedac346d664876c188e9c9fdcc Mon Sep 17 00:00:00 2001 From: Arayuki Mago Date: Tue, 2 Sep 2025 00:51:33 +0900 Subject: [PATCH] =?utf8?q?luci-proto-ipv6:=20map:=20allow=20/128=20IPv6=20?= =?utf8?q?prefix=20length=20IPv6=20prefix=20length=20is=20normally=20valid?= =?utf8?q?=20in=20the=20range=200=E2=80=9364.=20Additionally,=20/128=20is?= =?utf8?q?=20a=20special=20case=20that=20needs=20to=20be=20supported.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Arayuki Mago --- .../htdocs/luci-static/resources/protocol/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js index 471608b5ae..62bc3648a9 100644 --- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js +++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/map.js @@ -62,7 +62,7 @@ return network.registerProtocol('map', { o = s.taboption('general', form.Value, 'ip6prefixlen', _('IPv6 prefix length'), _('The length of the IPv6 prefix in bits')); o.placeholder = '16'; - o.datatype = 'range(0,64)'; + o.datatype = 'or(range(0,64),128)'; o = s.taboption('general', form.Value, 'ealen', _('EA-bits length')); o.datatype = 'range(0,48)'; -- 2.30.2